<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<c:if test="${fn:length(attaStoreList) == 0}">
	<div data-options="iconCls:'icon-ok'" style="overflow:auto;padding-left:10px;">
			<h3 style="color:#0099FF;">暂没有检索到您上传的图片文件</h3>
			<p>&nbsp;&nbsp;&nbsp;&nbsp;用户您好,请您点击上传图片按钮,选定需要上传,且上传成功后,此处才会显示图片文件</p>
	</div>
</c:if>
<c:if test="${fn:length(attaStoreList) > 0}">
<div class="picdiv">
		<ul class="sct">
	<c:forEach items="${attaStoreList}" var="pi">
			<li>
			<img src="${pi.downloadUrl}${pi.sid}.s.${pi.attachmentType}" title="${pi.attachmentDesc}" class="tu"><p>
			<!-- <c:if test="${pi.mainPicFlag == '0'}"><a class="btt" onclick="setMainPic('${pi.sid}','${pi.attachmentName}');">设为主图</a></c:if>
			<c:if test="${pi.mainPicFlag == '1'}"><a class="btt1">--</a></c:if>
			 -->
			<a class="ljx"><img  onclick="delAttaStore('${pi.sid}','${pi.attachmentName}');" src="${ctx}/js/pic/images/del.jpg"></a></p>
			</li>
			
			
	</c:forEach>
	</ul>
	<div class="cls" ></div>
	</div>
</c:if>